package com.ninja.dao;




import com.ninja.pojo.business.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户
    public List<User> findAll() throws Exception;


    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;


    public int insertUser(User user) throws Exception;

    public int deleteUser (User user) throws Exception;

    public int updateUser (User user) throws Exception;


}
